The actor weighed in after Justice Thomas noted that cases establishing rights to contraception and same-sex marriage could also be overturned.